package com.ldp.designpatterns.study.factory.methodFactory.factory;

import com.ldp.designpatterns.study.factory.methodFactory.impl.LatterCoffe;
import com.ldp.designpatterns.study.factory.methodFactory.service.Coffee;

/**
 * @ClassName LatterCoffeFactory
 * @Description 工厂方法模式：——实现工厂接口——拿铁咖啡接口
 * @Author lindipei
 * @Date 2023/10/13 15:16
 */
public class LatterCoffeFactory implements  CoffeeFactory{
    @Override
    public Coffee createCoffee() {
        return new LatterCoffe();
    }
}
